UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Force file extension to match file type created - Excel


Overview

Finding ID Version Rule ID IA Controls Severity
V-17621 DTOO143 - Excel SV-18762r1_rule ECSC-1 Medium
Description
Excel 2007 can load files with extensions that do not match the files' type. For example, if a comma-separated values (CSV) file named example.csv is renamed example.xls, Excel can properly load it as a CSV file. Some attacks target specific file formats. If Excel is allowed to load files with extensions that do not match their file types, a malicious person can deceive users into loading dangerous files that have incorrect extensions. By default, if users attempt to open files with the wrong extension, Excel opens the file and displays a warning that the file type is not what Excel expected.
STIG Date
Microsoft Excel 2007 2014-12-22

Details

Check Text ( C-18915r1_chk )
The policy value for User Configuration -> Administrative Templates -> Microsoft Office Excel 2007 -> Excel Options -> Security “Force file extension to match file type” will be set to “Enabled (Allow different, but warn)”.

Procedure: Use the Windows Registry Editor to navigate to the following key:

HKCU\Software\Policies\Microsoft\Office\12.0\Excel\Security

Criteria: If the value ExtensionHardening is REG_DWORD = 1, this is not a finding.
Fix Text (F-17533r1_fix)
The policy value for User Configuration -> Administrative Templates -> Microsoft Office Excel 2007 -> Excel Options -> Security “Force file extension to match file type” will be set to “Enabled (Allow different, but warn)”.